package com.beans;

public class HelloWorld {
	private String name;
	private int age;
	private double phone;

	@Override
	public String toString() {
		return "HelloWorld [name=" + name + ", age=" + age + ", phone=" + phone + "]";
	}

	public HelloWorld(String name, int age) {
		super();
		this.name = name;
		this.age = age;
	}

	public HelloWorld(String name, double phone) {
		super();
		this.name = name;
		this.phone = phone;
	}

	public HelloWorld(String name, int age, int phone) {
		super();
		this.name = name;
		this.age = age;
		this.phone = phone;
	}

	public int getAge() {
		return age;
	}

	public void setAge(int age) {
		this.age = age;
	}

	public double getPhone() {
		return phone;
	}

	public void setPhone(double phone) {
		this.phone = phone;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public void hello() {
		System.out.println("HelloWorld [name=" + name + ", age=" + age + ", phone=" + phone + "]");
	}

	public HelloWorld() {
		super();
	}
}
